﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AttendanceSysytem.Models
{
    [SugarTable("SystemConfigs")]
    public class SystemConfigs
    {
        /// <summary>
        /// 配置键
        /// </summary>
        [SugarColumn(ColumnName = "Appkey", IsPrimaryKey = true)]
        public string Configkey {  get; set; }
        /// <summary>
        /// 配置值
        /// </summary>
        [SugarColumn(ColumnName = "Value")]
        public string Value {  get; set; }
        /// <summary>
        /// 配置项名称
        /// </summary>
        [SugarColumn(ColumnName = "Name")]
        public string Name { get; set; }
        /// <summary>
        /// 分组ID
        /// </summary>
        public int GroupId { get; set; } = 0;
    }
}
